import React from 'react';
import { RouteChildrenProps } from 'react-router-dom';
import { Button } from 'antd';
import { createHashHistory } from 'history';
const history = createHashHistory();

const Home: React.FC<RouteChildrenProps> = (props) => {
  const historyto = () => {
    history.push('/app/loong3/home');
  };

  return (
    <div>
      <Button onClick={historyto}>前往loong3-dv</Button>
    </div>
  );
};

export default Home;
